package com.example.demo.config.config;

/**
 * web应用自定义错误类;
 */
public class WebException extends Exception{
    public ErrorCode code;
    public String msg;

    public WebException(ErrorCode code, String msg){
        this.code = code;
        this.msg = msg;
    }
}


